home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm3_5_1
- Caption = "3-5-1"
- ClientHeight = 1200
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 5505
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1200
- ScaleWidth = 5505
- Begin VB.CommandButton cmdDisplay
- Caption = "Display Address"
- Default = -1 'True
- Height = 495
- Left = 1920
- TabIndex = 1
- Top = 600
- Width = 2055
- End
- Begin VB.PictureBox picAddress
- Height = 375
- Left = 120
- ScaleHeight = 315
- ScaleWidth = 5235
- TabIndex = 0
- Top = 120
- Width = 5295
- End
- Attribute VB_Name = "frm3_5_1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdDisplay_Click()
- Dim houseNumber As Single, street As String
- picAddress.Cls
- Open App.Path & "\DATA.TXT" For Input As #1
- Input #1, houseNumber
- Input #1, street
- picAddress.Print "The White House is located at"; houseNumber; street
- Close #1
- End Sub
-